package com.example.toolsdemo.service;

import com.example.toolsdemo.common.ServerResponse;
import com.example.toolsdemo.dataobject.Student;

/**
 * @author danyubin
 */
public interface StudentService {

    Student getStudent(Long id);

    Integer saveStudent(Student student);

    ServerResponse modifyStudent(Student student);

    Integer deleteStudent(Long id);

    ServerResponse getStudentsByStatus(Integer status, Integer pageNum, Integer pageSize);
}
